/*********************************************************/
/*                                                       */
/* Warleague                                             */
/*                                                       */
/* introstate.h                                          */
/*                                                       */
/*********************************************************/
#ifndef __INTROSTATE_H__
#define __INTROSTATE_H__

/*********************************************************/
/* includes                                              */
/*********************************************************/
#include <SFML/Graphics.hpp>
#include "gamestate.h"

/*********************************************************/
/* class CIntroState                                     */
/*********************************************************/

class CIntroState : public CGameState
{
public:

    void Init();
    void Cleanup();

    void Pause();
    void Resume();

    void HandleEvents(CGameEngine* game);
    void Update(CGameEngine* game);
    void Draw(CGameEngine* game);

    void FadeOut(CGameEngine* game);

    static CIntroState* Instance()
    {
        return &m_IntroState;
    }

protected:
    CIntroState() { }

private:
    static CIntroState m_IntroState;
    /* Background */
    sf::Texture m_ImageBg;
    sf::Sprite m_SpriteBg;

}; /* end class CIntroStae */


#endif
